/// 应用核心常量定义
class AppConstants {
  // 应用信息
  static const String appName = 'AniQuest';
  static const String appVersion = '1.0.0';
  
  // API相关
  static const String baseUrl = 'https://api.jikan.moe/v4'; // 使用免费的动漫API
  static const int connectTimeout = 30000;
  static const int receiveTimeout = 30000;
  
  // 本地存储键名
  static const String themeKey = 'theme_mode';
  static const String favoriteKey = 'favorite_anime';
  static const String searchHistoryKey = 'search_history';
  static const String contentFilterKey = 'content_filter_level';
  
  // 分页配置
  static const int pageSize = 20;
  static const int maxSearchHistory = 10;
  
  // 图片相关
  static const String defaultAnimeImage = 'assets/images/default_anime.png';
  static const String placeholderImage = 'assets/images/placeholder.png';
  
  // 动漫状态
  static const String statusWantToWatch = 'want_to_watch';
  static const String statusWatching = 'watching';
  static const String statusCompleted = 'completed';
  static const String statusOnHold = 'on_hold';
  static const String statusDropped = 'dropped';
  
  // 启动页面配置
  static const int splashDuration = 3000; // 启动页面显示时长（毫秒）
  static const int animationDuration = 1500; // 动画时长（毫秒）
}

/// 路由常量
class RouteConstants {
  static const String splash = '/splash';
  static const String home = '/';
  static const String detail = '/detail';
  static const String search = '/search';
  static const String favorites = '/favorites';
  static const String settings = '/settings';
  static const String categoryDetail = '/category_detail';
  static const String ranking = '/ranking';
} 